package 实现数据结构.手写HashMap;

public class TestMyHashMap {
    public static void main(String[] args) {
        MyHashMap<String, Integer> hashMap = new MyHashMap<>();

//        for (int i = 0; i < 100; i++) {
//            hashMap.put("test" + i, i);
//        }
//        System.out.printf("myHashMap size=%d", hashMap.size());
//        System.out.println();

        hashMap.put("t1", 123);
        hashMap.put("t1", 233);
        System.out.println(hashMap.get("t1")); //233

    }
}
